import request from '@/utils/request'
export const getListApi = (params) => request({
  url: '/task-service/task/search',
  params
})
// 搜索工单
export const searchApi = (params) => request({
  url: '/task-service/task/search',
  params
})
// 获取工单类型
export const gettype = () => request({
  url: '/task-service/taskType/list'
})
// 工单状态
export const gettstatus = () => request({
  url: '/task-service/task/allTaskStatus'
})
// 创建工单
export const creatorder = (data) => request({
  url: '/task-service/task/create',
  method: 'post',
  data
})
// 运营人员
export const username = () => request({
  url: '/user-service/user/operatorList'
})

// 运维工单列表
